package com.woniu.liuzhougov.itemAndTask.pojo;

import com.woniu.liuzhougov.authorityControl.pojo.User;

import java.util.Date;
/*
 * @Author Wuyuzhong
 * @Description 事项
 * @Date 2019/4/19 14:32
 **/
public class Item {
    private Integer itemId;
    //事项类型
    private ItemType itemType;
    //紧急程度
    private Urgenry itemUrgency;
    //立项人
    private User itemFounder;
    //地区
    private Area area;
    //审核状态
    private CheckStatus itemStatus;

    //部门id
    private Department department;

    private String itemName;

    private Date itemTime;

    private String itemContent;

    private String itemRemark;

    private int flag;

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public Department getDepartment() {
        return department;
    }


    public void setDepartment(Department department) {
        this.department = department;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public ItemType getItemType() {
        return itemType;
    }

    public void setItemType(ItemType itemType) {
        this.itemType = itemType;
    }

    public Urgenry getItemUrgency() {
        return itemUrgency;
    }

    public void setItemUrgency(Urgenry itemUrgency) {
        this.itemUrgency = itemUrgency;
    }

    public User getItemFounder() {
        return itemFounder;
    }

    public void setItemFounder(User itemFounder) {
        this.itemFounder = itemFounder;
    }

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Date getItemTime() {
        return itemTime;
    }

    public void setItemTime(Date itemTime) {
        this.itemTime = itemTime;
    }

    public String getItemContent() {
        return itemContent;
    }

    public void setItemContent(String itemContent) {
        this.itemContent = itemContent;
    }

    public String getItemRemark() {
        return itemRemark;
    }

    public void setItemRemark(String itemRemark) {
        this.itemRemark = itemRemark;
    }

    public CheckStatus getItemStatus() {
        return itemStatus;
    }

    public void setItemStatus(CheckStatus itemStatus) {
        this.itemStatus = itemStatus;
    }

    public Item(Integer itemId, ItemType itemType, Urgenry itemUrgency, User itemFounder, Area area, CheckStatus itemStatus, Department department, String itemName, Date itemTime, String itemContent, String itemRemark, int flag) {
        this.itemId = itemId;
        this.itemType = itemType;
        this.itemUrgency = itemUrgency;
        this.itemFounder = itemFounder;
        this.area = area;
        this.itemStatus = itemStatus;
        this.department = department;
        this.itemName = itemName;
        this.itemTime = itemTime;
        this.itemContent = itemContent;
        this.itemRemark = itemRemark;
        this.flag = flag;
    }

    public Item() {

    }

    @Override
    public String toString() {
        return "Item{" +
                "itemId=" + itemId +
                ", itemType=" + itemType +
                ", itemUrgency=" + itemUrgency +
                ", itemFounder=" + itemFounder +
                ", area=" + area +
                ", itemStatus=" + itemStatus +
                ", department=" + department +
                ", itemName='" + itemName + '\'' +
                ", itemTime=" + itemTime +
                ", itemContent='" + itemContent + '\'' +
                ", itemRemark='" + itemRemark + '\'' +
                ", flag=" + flag +
                '}';
    }

}